function A() {
    this.test1 = 'test1',
    this.test2 = 'test2',
    this.add = function() {
        return this.test1 + this.test2
    }
}



function B() {
    console.log(this)
    A.call(this)
    console.log(this)
}

var a = new B()




